Contribution org.nuxeo.ecm.webapp.info.view--layouts
In component org.nuxeo.ecm.webapp.info.view
org.nuxeo.ecm.webapp.info.view
inside nuxeo-platform-webapp-core-9.10.jar /OSGI-INF/info-view-layouts-contrib.xml
This contribution is part of XML component Extension Point
Extension point layouts of component WebLayoutManager.Contributed Items
XML Source
<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
<layout name="gridInfoViewLayout">
<templates>
<template mode="any">
/layouts/layout_grid_template.xhtml
</template>
</templates>
<rows>
<row>
<widget>infoViewPanelLeft</widget>
<widget>infoViewPanelRight</widget>
</row>
</rows>
</layout>
<layout name="defaultInfoLayout@tabLayout">
<templates>
<template mode="any">
/layouts/layout_grid_template.xhtml
</template>
</templates>
<rows>
<row>
<widget>infoViewInfoBox</widget>
</row>
<row>
<widget>infoViewMetadata</widget>
</row>
<row>
<widget>infoViewWorkflow</widget>
</row>
<row>
<widget>infoViewTags</widget>
</row>
<row>
<widget>infoViewCollections</widget>
</row>
<row>
<widget>infoViewComments</widget>
</row>
</rows>
<widget name="infoViewInfoBox" type="container">
<subWidgets>
<widget name="infoBox" type="info_box"/>
</subWidgets>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<controls mode="any">
<control name="gridStyleClass">gridStyle12</control>
</controls>
</widget>
<widget name="infoViewMetadata" type="container">
<labels>
<label mode="any">action.view.metadata</label>
</labels>
<translated>true</translated>
<subWidgets>
<widget name="metadata" type="documentLayout">
<properties widgetMode="view">
<property name="mode">view</property>
<property name="documentMode">view</property>
<property name="includeAnyMode">false</property>
</properties>
<controls mode="any">
<control name="requireSurroundingForm">true</control>
</controls>
</widget>
</subWidgets>
<controls mode="any">
<control name="handleLabels">true</control>
<control name="gridStyleClass">gridStyle12</control>
</controls>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
</widget>
<widget name="infoViewWorkflow" type="container">
<labels>
<label mode="any">label.document.routing.workflow</label>
</labels>
<translated>true</translated>
<subWidgets>
<widget name="workflow" type="summary_document_route">
<controls mode="any">
<control name="requireSurroundingForm">true</control>
</controls>
</widget>
</subWidgets>
<controls mode="any">
<control name="handleLabels">true</control>
<control name="gridStyleClass">gridStyle12</control>
</controls>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<widgetModes>
<mode value="view">#{routingActions.filteredRouteModels.size() > 0 ?
'view' : 'hidden'}</mode>
</widgetModes>
</widget>
<widget name="infoViewTags" type="container">
<labels>
<label mode="any">action.view.tagging</label>
</labels>
<translated>true</translated>
<subWidgets>
<widget name="tags" type="summary_current_document_tagging">
<controls mode="any">
<control name="requireSurroundingForm">true</control>
</controls>
<properties widgetMode="any">
<property name="placeholder">
#{messages['label.add.tag.placeholder']}
</property>
</properties>
</widget>
</subWidgets>
<controls mode="any">
<control name="handleLabels">true</control>
<control name="gridStyleClass">gridStyle12</control>
</controls>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
</widget>
<widget name="infoViewCollections" type="container">
<labels>
<label mode="any">label.collections</label>
</labels>
<translated>true</translated>
<subWidgets>
<widget name="collections" type="summary_current_document_collections"/>
</subWidgets>
<controls mode="any">
<control name="handleLabels">true</control>
<control name="gridStyleClass">gridStyle12</control>
</controls>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<widgetModes>
<mode value="view">#{collectionActions.hasCurrentDocumentVisibleCollection()
? 'view' : 'hidden'}</mode>
</widgetModes>
</widget>
<widget name="infoViewComments" type="container">
<labels>
<label mode="any">#{nxu:translate('label.summary.comments',
documentThreadedComments.size)}</label>
</labels>
<translated>false</translated>
<subWidgets>
<widget name="comments" type="summary_current_document_comments">
<controls mode="any">
<control name="requireSurroundingForm">true</control>
</controls>
</widget>
</subWidgets>
<controls mode="any">
<control name="handleLabels">true</control>
<control name="gridStyleClass">gridStyle12</control>
</controls>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<widgetModes>
<mode value="view">#{documentThreadedComments.size() > 0 ? 'view' :
'hidden'}</mode>
</widgetModes>
</widget>
</layout>
</extension>